<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <title>提交订单页面</title>
    <script>
        $(function(){
            $("#submitOrder").on("click",function () {
                window.location.href = "payPage?id="+Math.random();
            })
        })
    </script>
</head>
<body>
    <button id="submitOrder">提交订单</button>
</body>
</html>